<?php
if (COUNT($_POST))
{	
	$id = $this->get('id');
	$sql = "DELETE FROM item_details WHERE iid=$id";
    Connection::getConnect();
    Connection::setQuery($sql);
	$this->logger(INVENTORY, 'Item Deleted - id="' . $id . '".');
}else
	exit;
 ?>